package gugga.tasks.events
{
	import flash.events.Event;
	import gugga.tasks.ITask;

	public class TasksContainerEvent extends Event
	{
		public static const TASK_ADDED : String = "taskAdded";
		public static const TASKS_ADDED : String = "tasksAdded";
		public static const TASK_REMOVED : String = "taskRemoved";
		public static const TASKS_REMOVED : String = "tasksRemoved";
		
		public var Task : ITask;
		public var Tasks : Array;
		
		public function TasksContainerEvent(aType:String, aTask:ITask, aTasks:Array, 
			aBubbles:Boolean=false, aCancelable:Boolean=false)
		{
			super(aType, aBubbles, aCancelable);
			
			Task = aTask;
			Tasks = aTasks;
		}		
	}
}